package ordered;

import visitor.Visitor;
import wrapper.Str;

public class PrintingVisitor implements Visitor{
	private Object target;
	private Object found;
	public boolean isDone() {
		return false;
	}

	public void visit(Object object) {
		//if(!isDone () && object.equals(target))
			//found = object;
		System.out.println(((Str)object).getValue());
	}

}
